<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    {load block('seo')}

	<base href="{#echo _V("$this->template/front/")#}"/>
    <meta content="text/html" charset="utf-8" http-equiv="Content-Type" />

	<meta name="author" content="www.cicms.com" />
	<meta name="copyright" content="{$site_info->copy_right}" />

    <meta http-equiv = "X-UA-Compatible" content="IE=edge;chrome=1"/>
    <meta http-equiv="pragma" content="pragma"/>
    <meta http-equiv="cache-control" content="max-age=88" />

    <link rel="shortcut icon" type="image/x-icon" href="img/ouyuan.ico" media="screen" />
    <link rel="bookmark" href="img/ouyuan.ico"/>
    <link href="css/web.css" rel="stylesheet" type="text/css"/>
    <link href="css/lanrenzhijia.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="js/jquery.js"></script>

    <script type="text/javascript">
        //设为首页
        function SetHome(obj,url){
            try{
                obj.style.behavior='url(#default#homepage)';
                obj.setHomePage(url);
            }catch(e){
                if(window.netscape){
                    try{
                        netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
                    }catch(e){
                        alert("抱歉，此操作被浏览器拒绝！\n\n请在浏览器地址栏输入“about:config”并回车然后将[signed.applets.codebase_principal_support]设置为'true'");
                    }
                }else{
                    alert("抱歉，您所使用的浏览器无法完成此操作。\n\n您需要手动将【"+url+"】设置为首页。");
                }
            }
        }

        //收藏本站
        function AddFavorite(title, url) {
            try {
                window.external.addFavorite(url, title);
            }
            catch (e) {
                try {
                    window.sidebar.addPanel(title, url, "");
                }
                catch (e) {
                    alert("抱歉，您所使用的浏览器无法完成此操作。\n\n加入收藏失败，请进入新网站后使用Ctrl+D进行添加.");
                }
            }
        }
    </script>

</head>

<body>
    <!-- head -->
    <div id="top">
        <div id="top_t">
            <a href="javascript:void" onclick="AddFavorite(this,'{site_info->url}');"><img src="images/icon_02.gif" width="16" height="16" alt="加入收藏"/><span>加入收藏</span></a>
            <a href="javascript:void" onclick="SetHome(this,'{site_info->url}');"><img src="images/icon_03.gif" width="16" height="16" alt="设为首页"/><span>设为首页</span></a>
        </div>
        <div id="top_b">
            <div id="logo"><img src="images/img_logo.jpg"  alt="logo"/></div>
            <div id="menu">

                {cache jrcms_main_menu([file,file],300)}
                <ul>
                    <li><a href="<?=_U("")?>" target="_self" >首&nbsp;&nbsp;&nbsp;&nbsp;页</a></li>
                    {#$top_menu = $this->menu_manager->get('main');#}
                    {#foreach($top_menu->items as $menu_item):#}
                        <li>
                            <a href="{$menu_item->href}" target="{$menu_item->target_window}">{$menu_item->title}</a>
                            {#if(sizeof($menu_item->items)>0):#}
                                <ul>
                                    {#foreach($menu_item->items as $menu_item):#}
                                        <li><a href="{$menu_item->href}" target="{$menu_item->target_window}">{$menu_item->title}</a></li>
                                    {#endforeach;#}
                                </ul>
                            {# endif;#}
                        </li>
                    {#endforeach;#}
                </ul>
                {end cache jrcms_main_menu}

            </div>
        </div>
    </div>

    <!-- body -->
    {load block('body')}
    <!-- body -->

    <!-- foot -->
    <div id="b ottom">
        <div id="center">
        <span id="bottom_l">
            {site_info->copy_right}<br/>公司地址：{site_info->address}<br/>
            联系电话：{site_info->phone}&nbsp;&nbsp;&nbsp;&nbsp;手机：{site_info->mobile_phone}</span>
        <span id="bottom_r">技术支持：<a href="http://www.cicms.com" target="_blank">CICMS</a>  ｜
            {site_info->icp}</span>
        </div>
    </div>
    <!-- foot -->
</body>
</html>